import type { TableColumnCtx } from "element-plus";
import { dayjs } from "element-plus";
import store from "@/store";
interface LostGooddsListItem {
  goodsType: string;
  goodsName: string;
  lostTimeStart: string;
  lostTerminal: string;
  lostPlace: string;
  timeLimit: string;
  goodsLimitTime: string;
  loseName: string;
  losePhone: string;
  createTime: string;
  img: string;
  state: number;
}
export const loseGoodsColumns = [
  {
    type: "index",
    label: "序号",
    width: 60,
    align: "center",
  },
  {
    prop: "eventTypeName",
    label: "事件类型",
    minWidth: 130,
    align: "center",
  },
  {
    prop: "eventLevel",
    label: "事件级别",
    sortable: true,
    minWidth: 200,
    align: "center",
  },
  {
    prop: "processGroup",
    label: "区域处置单位",
    minWidth: 250,
    align: "center",
  },

  {
    prop: "eventTime",
    label: "发生时间",
    sortable: true,
    minWidth: 180,
    align: "center",
  },
  { prop: "creator", label: "上报人", minWidth: 120, align: "center" },
  {
    prop: "createTime",
    label: "上报时间",
    sortable: true,
    minWidth: 180,
    align: "center",
  },
  {
    prop: "terminal",
    label: "航站楼",
    minWidth: 120,

    align: "center",
  },
  {
    prop: "source",
    label: "来源",
    minWidth: 120,

    align: "center",
  },
  {
    prop: "status",
    label: "状态",
    sortable: true,
    minWidth: 120,
    align: "center",
  },
  {
    prop: "action",
    label: "操作",
    fixed: "right",
    minWidth: 80,
    align: "center",
  },
];
